home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / Extract.readme < prev    next >
Text File  |  1996-09-26  |  2KB  |  52 lines

  1. Short:    Extracts pieces from files
  2. Author:   steigies@physik.uni-kiel.d400.de (Christian Steigies)
  3. Uploader: steigies@physik.uni-kiel.d400.de (Christian Steigies)
  4. Type:     util/cli
  5.  
  6. Extract was written for a poor guy, who has a CD-Rom drive but can't
  7. use it together with his HD. As he didn't find a split program which
  8. allowed to change the disk after writing a file, I wrote this program,
  9. which extracts a given amount of bytes from a file.
  10. After copying the small files on the HD, they can be put together with
  11. the join command.
  12. To split an archive of 2.000.000 bytes into pieces which fit on DD disk,
  13. one could use the follwing commands:
  14.  
  15. Extract large df0:small.1 1 800000
  16. Extract large df0:small.2 800001 1600000
  17. Extract large df0:small.3 1600001 2000000
  18.  
  19. After copying them all onto HD,
  20.  
  21. join small.1 small.2 small.3 as large
  22.  
  23. can be used to regain the original archive.
  24.  
  25. Usage:
  26. Extract <infile> <outfile> <from:bytes> <to:bytes>
  27.  
  28. This is kind of my first C program, so please don't blame me for bad
  29. programming style or if it blows up your Harddisk. I know that it can be
  30. programmed smarter, but it runs ok on my and Martins Amiga, but I don't
  31. use it too often (I still have no CD-Rom, and when I have mine, I'm sure
  32. that it will work together with my HD).
  33.  
  34. Extract was compiled with GNU C version 2.5.8 (requires ixemul.library,
  35. in gcc_ixemul) and with GNU C version 2.6.3 (does not require the
  36. ixemul library, in gcc_noixemul, thanx to martin for this one).
  37.  
  38. The sourcecode is included.
  39.  
  40.  
  41. ============================= Archive contents =============================
  42.  
  43. Original  Packed Ratio    Date     Time    Name
  44. -------- ------- ----- --------- --------  -------------
  45.     2251     839 62.7% 11-Jun-95 11:55:00  Extract.c
  46.     2157    1047 51.4% 11-Jun-95 11:55:00  Extract.guide
  47.     1501     765 49.0% 11-Jun-95 11:55:00  Extract.readme
  48.     3952    2194 44.4% 11-Jun-95 11:55:00 +Extract
  49.    12592    6630 47.3% 11-Jun-95 11:55:00 +Extract
  50. -------- ------- ----- --------- --------
  51.    22453   11475 48.8% 22-Jun-95 02:17:10   5 files
  52.